package yl.hs.bmipfull.daos.report;

import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;
import yl.hs.bmipfull.daos.BaseDao;
import yl.hs.bmipfull.pojo.report.ProductionDayReportEntity;

import java.util.Date;
import java.util.List;
import java.util.Map;

/*
 * IProductionDayReportDao
 * @category
 * @author 谢景广
 * @date 2023-02-02
 */
@Repository
public interface IProductionDayReportDao extends BaseDao<ProductionDayReportEntity> {
    Integer queryPageCount(@Param("map") Map<String, Object> query);

    List<ProductionDayReportEntity> queryList(@Param("map") Map<String, Object> query);

    ProductionDayReportEntity queryLastReport(@Param("unit") String unit,@Param("cateSN") String cateSN,@Param("month") Date month);
}
